From: Florian Müllner Date: Wed, 20 Mar 2019 15:21:01 +0000 (+0000) Subject: windowManager: Limit switch gestures to normal mode X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~861^2^2~22 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c0012c2ea46d2bf0a4910dc8b5c7d789f65a2152;p=gnome-shell.git windowManager: Limit switch gestures to normal mode The window group is hidden while in overview, so the stick-to-content animation isn't visible either. Worse, the gestures messes up the position of window actors in that case. Just limit the gesture to normal mode for now, we will soon add it back in the overview with its own animation handling. https://gitlab.gnome.org/GNOME/gnome-shell/issues/516 --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 089035ba5..e8bd0a690 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1058,7 +1058,7 @@ var WindowManager = class { global.workspace_manager.override_workspace_layout(Meta.DisplayCorner.TOPLEFT, false, -1, 1); - let allowedModes = Shell.ActionMode.NORMAL | Shell.ActionMode.OVERVIEW; + let allowedModes = Shell.ActionMode.NORMAL; let gesture = new WorkspaceSwitchAction(allowedModes); gesture.connect('motion', this._switchWorkspaceMotion.bind(this)); gesture.connect('activated', this._actionSwitchWorkspace.bind(this));